home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Conveyor Belt Slideshow.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
3KB
|
135 lines
[SUBJECT]
Description=Conveyor belt slide show Script
ImageIndex=-1
Folder=Graphical Effects
[BODY_TEXT]
;<script language="JavaScript1.2">
;<!--
;
;/*
;Conveyor belt slideshow script-
;⌐ Dynamic Drive (www.dynamicdrive.com)
;For full source code, installation instructions,
;100's more DHTML scripts, and Terms Of
;Use, visit dynamicdrive.com
;*/
;
;
;//Specify the slider's width (in pixels)
;var sliderwidth=`slider_width`;
;//Specify the slider's height (in pixels, pertains only to NS)
;var sliderheight=`slider_height`;
;//Specify the slider's scroll speed (larger is faster)
;var slidespeed=`slide_speed`;
;
;//Specify the slider's images
;var leftrightslide=new Array();
;var finalslide='';
;leftrightslide[0]='<a href="http://"><img src="`Image1`" border=1></a>';
;leftrightslide[1]='<a href="http://"><img src="`Image2`" border=1></a>';
;leftrightslide[2]='<a href="http://"><img src="`Image3`" border=1></a>';
;leftrightslide[3]='<a href="http://"><img src="`Image4`" border=1></a>';
;leftrightslide[4]='<a href="http://"><img src="`Image5`" border=1></a>';
;
;///////do NOT edit pass this line////////////////////////////////////
;
;var copyspeed=slidespeed;
;//copy contents of leftrightslide into one variable
;for (i=0;i<leftrightslide.length;i++)
;finalslide=finalslide+leftrightslide[i]+" ";
;
;
;if (document.all){
;//dynamically write out the marquee tag
;document.write('<marquee id="ieslider" scrollAmount=0 style="width:'+sliderwidth+'">'+finalslide+'</marquee>');
;//stop marquee when mouse is over it
;ieslider.onmouseover=new Function("ieslider.scrollAmount=0");
;//re-enable marquee when mouse is out
;ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=slidespeed");
;}
;
;function regenerate(){
;window.location.reload();
;}
;function regenerate2(){
;if (document.layers){
;document.ns_slider01.visibility="show";
;setTimeout("window.onresize=regenerate",450);
;intializeleftrightslide();
;}
;if (document.all)
;ieslider.scrollAmount=slidespeed;
;}
;
;//NS specific function for initializing slider upon page load
;function intializeleftrightslide(){
;document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>');
;document. ns_slider01.document.ns_slider02.document.close();
;thelength=document.ns_slider01.document.ns_slider02.document.width;
;scrollslide();
;}
;
;//NS specific function for sliding slideshow
;function scrollslide(){
;if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
;document.ns_slider01.document.ns_slider02.left-=slidespeed;
;setTimeout("scrollslide()",100);
;}
;else{
;document.ns_slider01.document.ns_slider02.left=sliderwidth;
;scrollslide();
;}
;}
;window.onload=regenerate2;
;
;//-->
;</script>
;
;
;<ilayer width=&{sliderwidth}; height=&{sliderheight}; name="ns_slider01" visibility=hide>
;<layer name="ns_slider02" onMouseover="slidespeed=0;" onMouseout="slidespeed=copyspeed"></layer>
;</ilayer>
[`slider_height`]
Kind=N
Value=145
[`slider_width`]
Kind=N
Value=330
[`slide_speed`]
Kind=N
Value=4
[`Image1`]
Kind=U
Value=dynamicbook1.gif
[`Image2`]
Kind=U
Value=dynamicbook2.gif
[`Image3`]
Kind=U
Value=dynamicbook3.gif
[`Image4`]
Kind=U
Value=dynamicbook4.gif
[`Image5`]
Kind=U
Value=dynamicbook5.gif